Skip to content

Conversation

@mdrxy
Copy link
Contributor

@mdrxy mdrxy commented Nov 4, 2025

The following modules, which have been marked for removal, have been deleted. Consequently, any attempt to import these from langchain-classic (which re-exports from langchain-community) will break.

Chat models

  • ChatAnthropic (change import to langchain_anthropic.ChatAnthropic)
  • AzureChatOpenAI (change import to langchain_openai.AzureChatOpenAI)
  • BedrockChat (change import to langchain_aws.ChatBedrock)
  • ChatCohere (change import to langchain_cohere.ChatCohere)
  • ChatDatabricks (change import to databricks_langchain.ChatDatabricks)
  • ChatFireworks (change import to langchain_fireworks.ChatFireworks)
  • GigaChat (change import to langchain_gigachat.GigaChat)
  • ChatHuggingFace (change import to langchain_huggingface.ChatHuggingFace)
  • ChatLiteLLM (change import to langchain_litellm.ChatLiteLLM)
  • ChatLiteLLMRouter (change import to langchain_litellm.ChatLiteLLMRouter)
  • ChatOllama (change import to langchain_ollama.ChatOllama)
  • ChatOpenAI* (change import to langchain_openai.ChatOpenAI)
  • ChatPerplexity (change import to langchain_perplexity.ChatPerplexity)
  • ChatSambaNovaCloud (change import to langchain_sambanova.ChatSambaNovaCloud)
  • ChatSambaStudio (change import to langchain_sambanova.ChatSambaStudio)
  • SolarChat (change import to langchain_upstage.ChatUpstage)
  • ChatVertexAI (change import to langchain_google_vertexai.ChatVertexAI)
  • ChatCloudflareWorkersAI (change import to langchain_cloudflare.ChatCloudflareWorkersAI)
    *ChatOpenAI is kept in this package for now, as many other community chat models inherit from it. It has been removed from __all__ and should not be used. It will be removed at a later date once the other packages can be reconciled.

Chains

  • NeptuneSparqlQAChain (change import to langchain_aws.create_neptune_sparql_qa_chain)
  • NeptuneOpenCypherQAChain (change import to langchain_aws.create_neptune_opencypher_qa_chain)
  • Session property on SQLChatMessageHistory (use session_maker instead)
  • connection_string param on SQLChatMessageHistory (use connection instead)

Chat histories

  • AstraDBChatMessageHistory (change import to langchain_astradb.AstraDBChatMessageHistory)
  • MongoDBChatMessageHistory (change import to langchain_mongodb.MongoDBChatMessageHistory)
  • Neo4jChatMessageHistory (change import to langchain_neo4j.Neo4jChatMessageHistory)

Chains

Caches

  • AstraDBCache (change import to langchain_astradb.AstraDBCache)
  • AstraDBSemanticCache (change import to langchain_astradb.AstraDBSemanticCache)

Retrievers

  • QdrantSparseVectorRetriever (change import to langchain_qdrant.QdrantVectorStore#as_retriever())

Vector stores

  • Weaviate (change import to langchain_weaviate.WeaviateVectorStore)
  • VDMS (change import to langchain_vdms.VDMS)
  • Qdrant (change import to langchain_qdrant.Qdrant)
  • Pinecone (change import to langchain_pinecone.Pinecone)
  • OracleVS (change import to langchain_oracledb.vectorstores.OracleVS)
  • Neo4jVector (change import to langchain_neo4j.Neo4jVector)
  • MongoDBAtlasVectorSearch (change import to langchain_mongodb.MongoDBAtlasVectorSearch)
  • Milvus (change import to langchain_milvus.MilvusVectorStore)*
  • MatchingEngine (change import to langchain_google_vertexai.VectorSearchVectorStore)
  • DeepLake (change import to langchain_deeplake.DeeplakeVectorStore)
  • DatabricksVectorSearch (change import to databricks_langchain.DatabricksVectorSearch)
    *Milvus kept in code for Zilliz usage

Tools

  • GooglePlacesTool (change import to langchain_google_community.GooglePlacesTool)
  • GoogleSearchResults (change import to langchain_google_community.GoogleSearchResults)
  • GoogleSearchRun (change import to langchain_google_community.GoogleSearchRun)

Utilities

  • GooglePlacesAPIWrapper (change import to langchain_google_community.GooglePlacesAPIWrapper)
  • GoogleSearchAPIWrapper (change import to langchain_google_community.GoogleSearchAPIWrapper)*
  • OracleSummary (change import to langchain_oracledb.utilities.OracleSummary)
    *GoogleSearchAPIWrapper kept in code for WebResearchRetriever usage

Other

  • GMailLoader (change import to langchain_google_community.GMailLoader)

For any classes that previously imported private methods or utilities from the files containing these classes, those functions have been duplicated into the importing files.

@mdrxy mdrxy changed the title scratch work v1 Nov 4, 2025
@mdrxy mdrxy changed the title v1 temp Nov 4, 2025
The following modules, which have been marked for removal, have been
deleted. Consequently, any attempt to import these from
`langchain-classic` (which re-exports from `langchain-community`) will
break.
- `ChatAnthropic` (change import to `langchain_anthropic.ChatAnthropic`)
- `AzureChatOpenAI` (change import to
`langchain_openai.AzureChatOpenAI`)
- `BedrockChat` (change import to `langchain_aws.ChatBedrock`)
- `ChatCohere` (change import to `langchain_cohere.ChatCohere`)
- `ChatDatabricks` (change import to
`databricks_langchain.ChatDatabricks`)
- `ChatFireworks` (change import to `langchain_fireworks.ChatFireworks`)
- `GigaChat` (change import to `langchain_gigachat.GigaChat`)
- `ChatHuggingFace` (change import to
`langchain_huggingface.ChatHuggingFace`)
- `ChatLiteLLM` (change import to `langchain_litellm.ChatLiteLLM`)
- `ChatLiteLLMRouter` (change import to
`langchain_litellm.ChatLiteLLMRouter`)
- `ChatOllama` (change import to `langchain_ollama.ChatOllama`)
- `ChatOpenAI`* (change import to `langchain_openai.ChatOpenAI`)
- `ChatPerplexity` (change import to
`langchain_perplexity.ChatPerplexity`)
- `ChatSambaNovaCloud` (change import to
`langchain_sambanova.ChatSambaNovaCloud`)
- `ChatSambaStudio` (change import to
`langchain_sambanova.ChatSambaStudio`)
- `SolarChat` (change import to `langchain_upstage.ChatUpstage`)
- `ChatVertexAI` (change import to
`langchain_google_vertexai.ChatVertexAI`)
*`ChatOpenAI` is kept in this package for now, as many other community
chat models inherit from it. It has been removed from `__all__` and
should not be used. It will be removed at a later date once the other
packages can be reconciled.

For any classes that previously imported private methods or utilities
from the files containing these classes, those functions have been
duplicated into the importing files.
@mdrxy mdrxy marked this pull request as ready for review November 4, 2025 23:02
@mdrxy mdrxy changed the title temp chore: delete deprecated content Nov 5, 2025
@github-actions github-actions bot added the infra label Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@mdrxy mdrxy marked this pull request as draft November 5, 2025 04:53
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
@github-actions github-actions bot added infra and removed infra labels Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants